package com.lyl.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author lylbell
 * @date 2021-06-28 16:59
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("会员登录返回给前端用户信息")
public class LoginUser {

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "过期时间")
    private Long expire;

    @ApiModelProperty(value = "token")
    private String access_token;

    @ApiModelProperty(value = "refresh_token")
    private String refresh_token;
}
